package com.conference.repository;

import com.conference.entity.ConferenceSchedule;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConferenceScheduleRepository extends JpaRepository<ConferenceSchedule, Long>, JpaSpecificationExecutor<ConferenceSchedule> {
    List<ConferenceSchedule> findByConferenceId(Long conferenceId);
    List<ConferenceSchedule> findByVenueId(Long venueId);
} 